package com.aaa.three.mapper;


import com.aaa.three.pojo.domain.NewsColumn;
import com.aaa.three.pojo.domain.NewsColumnTwo;
import com.aaa.three.pojo.query.NewsColumnQuery;
import com.aaa.three.pojo.vo.NewsColumnVO;


import java.util.List;

/**
 * @Description:
 * @Author: whf
 * @Date: 2022/2/14 19:36
 */
public interface NewsColumnMapper {

    List<NewsColumn> listAll(NewsColumnQuery newsColumnQuery);

    Long queryNewsColumnTotal(NewsColumnQuery newsColumnQuery);

    int addColumn(NewsColumnVO newsColumnVO);

    int deleteColumn(Integer id);

    NewsColumnVO getColumnById(Integer id);

    int updateColumn(NewsColumnVO newsColumnVO);

    List<NewsColumnTwo> newsListNewsColumn();

}
